//
//  NSDate+Extension.h
//  client_confirm
//
//  Created by fdh on 14-7-1.
//  Copyright (c) 2014年 fdh. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface NSDate(extension)

+(long ) gk_now;
+(long long) gk_now64;

-(NSString *) FORMAT_YMDHMS;
-(NSString *) FORMAT_YMD;


+ (NSString *)fullTimeString;

//标准：YYYY-MM-dd HH:mm
+(NSString *)custom_YMDHM:(long long) seconds;

//标准：MM-dd HH:mm
+(NSString *)custom_MDHM:(long long) seconds;

//标准：MM/dd
+(NSString *)custom_MD:(long long) seconds;

//标准：YYYY-MM-dd HH:mm:ss
+(NSString *)custom_YMDHMS:(long long) seconds;


//标准：YYYY-MM-dd
+(NSString *)custom_YMD:(long long) seconds;

+ (NSString *)recentlyTimeStringWithTimeline:(long long)timeline;
- (NSString *)recentlyTimeString;

//消息列表时间现实
+ (NSString *)listTimeStringWithTimeline:(long long)timeline;
- (NSString *)listTimeString;
//消息详情时间现实
+ (NSString *)detailTimeStringWithTimeline:(long long)timeline;
- (NSString *)detailTimeString;
@end
